package com.mty.kjtest.Model;

/**
 * Created by 天宇 on 2017/6/30.
 */
public class HttpModel<T> {

    private int resultCode;
    private String resultMessage;

    private T data;

    public int getResultCode() {
        return resultCode;
    }

    public void setResultCode(int resultCode) {
        this.resultCode = resultCode;
    }

    public String getResultMessage() {
        return resultMessage;
    }

    public void setResultMessage(String resultMessage) {
        this.resultMessage = resultMessage;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "HttpModel{" +
               "resultCode=" + resultCode +
               ", resultMessage='" + resultMessage + '\'' +
               ", data=" + data +
               '}';
    }
}
